Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Network  Shares  

 Content of List Network Shares.ps1
MD5 Hash: B13665146D48A95E9F9EDB8A92E2E5CF
$strComputer = "."

$colItems = get-wmiobject -class "Win32_Share" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Access Mask: " $objItem.AccessMask
write-host "Allow Maximum: " $objItem.AllowMaximum
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Installation Date: " $objItem.InstallDate
write-host "Maximum Allowed: " $objItem.MaximumAllowed
write-host "Name: " $objItem.Name
write-host "Path: " $objItem.Path
write-host "Status: " $objItem.Status
write-host "Type: " $objItem.Type
write-host
}

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a